<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>网络设置</title>
    <link type="text/css" href="/css/style.css" rel="stylesheet">
    <script type="text/javascript" src="/js/script.js"></script>
    <script type="text/javascript">
        window.onload = function () {
            getNetConfigInfo();
        }
    </script>
</head>

<body>
    <div style="padding: 20px; padding-top: 10px;">
        <form name="netconfigform" action="/cgi-bin/htmlrequest.cgi" method="post">
            <input class="hide" name="HtmlName" value="netconfig"></input>
            <div class="item title"><span>网络设置</span></div>
            <div style="height: 10px"></div>
            <div style="height: 30px">
                <span class="item" style="width: 150px;display:inline-block;padding-left: 15px;">IP地址</span>
                <span><input id="IPAddr" name="setIPAddr" type="text" style="width: 200px;" maxlength="32"></span>
            </div>
            <div style="height: 30px">
                <span class="item" style="width: 150px;display:inline-block;padding-left: 15px;">子网掩码</span>
                <span><input id="NetMask" name="setNetMask" type="text" style="width: 200px;" maxlength="32"></span>
            </div>
            <div style="height: 30px">
                <span class="item" style="width: 150px;display:inline-block;padding-left: 15px;">网关</span>
                <span><input id="GatewayIP" name="setGatewayIP" type="text" style="width: 200px;" maxlength="32"></span>
            </div>
            <div style="height: 10px;"></div>
            <button class="btn btn-primary btn-save" type="button" onclick="if(confirm('是否确认修改网络参数?')) {submit();}">
                <span class="img">&nbsp;</span>
                <span ">保存</span>
    </button>
    </form>
  </div>
</body>

</html>